<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>lhgdialog组件演示</title>
	<script type="text/javascript" src="../../js/lhgdialog/lhgcore.min.js"></script>
	<script type="text/javascript">
var DG = frameElement.lhgDG;
DG.addBtn( 'ok', '确定', ok );

function ok()
{
    J('#txt2',DG.curDoc).val( J('#val').html() );
	DG.cancel();
}
	</script>
</head>

<body>

    <h3 style="font-size:14px;padding:60px 0;">
	    <div style="line-height:1.6;">点击确定按钮将下面方框中的文本传回到调用页面：</div>
		<div id="val" style="border:1px solid #666;padding:5px;float:left;">我是窗口中的文本</div>
	</h3>
</body>
</html>